package main.java.com.fxy.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Cost {
    Integer id;
    String name;
    Double money;
    Date date;
    Integer userId;
    String detail;
    Integer type;

    public Cost() {
    }

    public Cost(Integer id, String name, Double money, Date date,String detail) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.date = date;
        this.detail = detail;
    }
    public Cost(Integer id, String name, Double money, Date date) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.date = date;
    }
}
